Class GeneralSweptCurve.FixedUCurve
- Namespace
- CADability
- Assembly
- CADability.dll
The parameter curve of a GeneralSweptCurve surface for a fixed u, i.e. the path which the point of the swept curve at u takes along the sweep (the v direction) between vmin and vmax; returned by FixedU(double, double, double). Cloning and some other operations are not implemented.
public class GeneralSweptCurve.FixedUCurve : GeneralCurve, IFeedBack, ICloneable, IColorDef, ICurve, IGeoObject, ILayer, IStyle, IOctTreeInsertable, IComparable, ILineWidth, ILinePattern, ISerializable
- Inheritance
-
GeneralSweptCurve.FixedUCurve
- Implements
- Inherited Members
Constructors
FixedUCurve(GeneralSweptCurve, double, double, double)
public FixedUCurve(GeneralSweptCurve parent, double u, double vmin, double vmax)
Parameters
parentGeneralSweptCurveudoublevmindoublevmaxdouble
FixedUCurve(SerializationInfo, StreamingContext)
protected FixedUCurve(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfocontextStreamingContext
Methods
Clone()
Clones this GeoObject.
public override IGeoObject Clone()
Returns
- IGeoObject
the cloned GeoObject
CopyGeometry(IGeoObject)
Copies the geometrical aspects of the given GeoObject to this GeoObject. Both objects must be of the same type. The attributes are not copied.
public override void CopyGeometry(IGeoObject ToCopyFrom)
Parameters
ToCopyFromIGeoObjectGeoObject to copy from
DirectionAt(double)
Returns the direction of the curve at a specified point. The parameter position of the start-point is 0.0, the parameter position of the endpoint is 1.0. Directions of a position outside this interval may be undefined.
public override GeoVector DirectionAt(double Position)
Parameters
PositiondoublePosition on the curve
Returns
- GeoVector
The requested direction
GetBasePoints()
protected override double[] GetBasePoints()
Returns
- double[]
Modify(ModOp)
Modifies this GeoObject with the given modification operation (includes moving, rotating, reflecting, scaling etc.).
public override void Modify(ModOp m)
Parameters
mModOpOperation to be applied
PointAt(double)
Returns the point of the given position. The parameter position of the start-point is 0.0, the parameter position of the endpoint is 1.0. Points of a position outside this interval may be undefined. The correlation between the parameter Position and the resulting point may be not linear.
public override GeoPoint PointAt(double Position)
Parameters
PositiondoublePosition on the curve
Returns
- GeoPoint
The requested point
Reverse()
Reverses the direction of the curve.
public override void Reverse()
Split(double)
Splits the curve at the given position. The position must be in the interval 0..1 and the curve must not be closed. For closed curves Split(double, double).
public override ICurve[] Split(double Position)
Parameters
PositiondoubleWhere to split
Returns
- ICurve[]
the splitted curve(s)
Trim(double, double)
Modifies start and endpoint of this curve. StartPos must be less than EndPos. if StartPos is less than 0.0 or EndPos greater than 1.0 this only works for lines and (circular or elliptical) arcs.
public override void Trim(double StartPos, double EndPos)