Hide menu
Loading...
Searching...
No Matches

Defines 2D line. More...

Inheritance diagram for cadex.Geom.Line2d:
cadex.Geom.Curve2d cadex.Geom.Geometry cadex.BaseObject

Public Member Functions

 Line2d (global::System.IntPtr cPtr, bool cMemoryOwn)
 
 Line2d (cadex.Geom.Point2d theLocation, cadex.Geom.Direction2d theDirection)
 Constructor.
 
cadex.Geom.Point2d Location ()
 Returns an origin point.
 
cadex.Geom.Direction2d Direction ()
 Returns a direction.
 
double Parameter (cadex.Geom.Point2d thePoint)
 
- Public Member Functions inherited from cadex.Geom.Curve2d
 Curve2d (global::System.IntPtr cPtr, bool cMemoryOwn)
 
cadex.Geom.CurveType Type ()
 Returns a curve type.
 
cadex.Geom.Continuity Continuity ()
 Returns a continuity type of the curve.
 
cadex.Geom.Point2d Value (double theParameter)
 Evaluates a point on the curve.
 
cadex.Geom.Direction2d Normal (double theParameter)
 Returns the normal direction theNormal of parameter theParam.
 
double Curvature (double theParameter)
 Returns the curvature value of parameter theParam.
 
double UMin ()
 Returns a minimum parameter of a definition domain.
 
double UMax ()
 Returns a maximum parameter of a definition domain.
 
void Domain (out double theUMin, out double theUMax)
 Returns a definition domain.
 
bool IsTrimmed ()
 Returns whether curve is trimmed or not.
 
void SetTrim (double theFirst, double theLast)
 Trims curve with [theFirst, theLast] section.
 
void D0 (double theParameter, cadex.Geom.Point2d theValue)
 Throws exception only for the OffsetCurve if it is not possible to compute the current point.
 
void D1 (double theParameter, cadex.Geom.Point2d theValue, cadex.Geom.Vector2d theD1)
 Returns the point theValue of parameter theParam and the first derivative theD1.
 
void D2 (double theParameter, cadex.Geom.Point2d theValue, cadex.Geom.Vector2d theD1, cadex.Geom.Vector2d theD2)
 Returns the point theValue of parameter theParam and second derivatives theD1 and theD2.
 
bool DN (double theParameter, uint theDerivativeOrder, cadex.Geom.Point2d theValue, cadex.Collections.Vector2dList theD)
 Returns true if calculation was passed succsesfully, the returned vectors gives the value of the derivative for the order of derivation theDerivativeOrder.
 
void Transform (cadex.Geom.Transformation2d theTransformation)
 Results depends on the actual curve type.
 
cadex.Geom.Curve2d Transformed (cadex.Geom.Transformation2d theTransformation)
 The contents of this object is not modified.
 
- Public Member Functions inherited from cadex.Geom.Geometry
 Geometry (global::System.IntPtr cPtr, bool cMemoryOwn)
 
- Public Member Functions inherited from cadex.BaseObject
 BaseObject (global::System.IntPtr cPtr, bool cMemoryOwn)
 
void Dispose ()
 
bool IsNull ()
 
ulong Id ()
 Return unique identifier of public object.
 
bool IsEqual (cadex.BaseObject theObj)
 
override int GetHashCode ()
 
override bool Equals (System.Object o)
 

Static Public Member Functions

static new bool CompareType (cadex.BaseObject theObject)
 
static cadex.Geom.Line2d Cast (cadex.Geom.Curve2d theBase)
 
- Static Public Member Functions inherited from cadex.Geom.Curve2d
static new bool CompareType (cadex.BaseObject theObject)
 
static cadex.Geom.Curve2d Cast (cadex.Geom.Geometry theBase)
 
- Static Public Member Functions inherited from cadex.Geom.Geometry
static bool CompareType (cadex.BaseObject theObject)
 
static cadex.Geom.Geometry Cast (cadex.BaseObject theBase)
 

Protected Member Functions

override void Dispose (bool disposing)
 

Detailed Description

Constructor & Destructor Documentation

◆ Line2d()

cadex.Geom.Line2d.Line2d ( cadex.Geom.Point2d theLocation,
cadex.Geom.Direction2d theDirection )
inline

Constructor.

Member Function Documentation

◆ Direction()

cadex.Geom.Direction2d cadex.Geom.Line2d.Direction ( )
inline

◆ Dispose()

override void cadex.Geom.Line2d.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from cadex.Geom.Curve2d.

◆ Location()

cadex.Geom.Point2d cadex.Geom.Line2d.Location ( )
inline