Spline
A spline primitive, modelled on the DXF SPLINE entity.
Public Fields
| EndTangent |
Point3F | |
| Knots |
System.Double[] An array of knot intervals. |
|
| StartTangent |
Point3F Not currently used. |
|
| Weights |
System.Double[] An array of control point weights. |
Properties
| CADFile readonly |
CADFile |
|
| CanConvertToPolylines readonly |
System.Boolean |
|
| Closed |
System.Boolean |
|
| ControlPoints |
CamBam.Geom.Point3FArray |
|
| ControlPointTolerance |
System.Double |
|
| Degree |
System.Int32 |
|
| FitPoints |
CamBam.Geom.Point3FArray |
|
| FitTolerance |
System.Double |
|
| Flags |
System.Int32 |
|
| ID |
System.Int32 |
|
| KnotTolerance |
System.Double |
|
| Layer readonly |
Layer |
|
| Linear |
System.Boolean |
|
| Parent |
System.Object |
|
| Periodic |
System.Boolean |
|
| Planar |
System.Boolean |
|
| PrimitiveType readonly |
System.String |
|
| Rational |
System.Boolean |
|
| Tag |
System.String |
|
| Transform |
CamBam.Geom.Matrix4x4F |
|
| XmlEndTangent |
System.String |
|
| XmlStartTangent |
System.String |
Methods
| ApplyTransformation |
Boolean ApplyTransformation (Matrix4x4F xm) | |
| Clone |
Entity Clone () | |
| CloneFrom |
Void CloneFrom (Entity src) | |
| ConvertToPolylines |
Polyline[] ConvertToPolylines (Boolean apply_transformations) | |
| GetExtents |
Void GetExtents (PointF& min, PointF& max) Find the extrema points of this primitive. Parameters: min: A point that will receive the minimum coordinates. max: A point that will receive the maximum coordinates. |
|
| GetExtrema |
Void GetExtrema (Point3F& min, Point3F& max) Find the extrema points of this primitive. Parameters: min: A point that will receive the minimum coordinates. max: A point that will receive the maximum coordinates. |
|
| GetScreenExtents |
Void GetScreenExtents (PointF& min, PointF& max, Matrix4x4F xm) | |
| Paint |
Void Paint (Display3D d3d) | |
| PointIntersect |
Boolean PointIntersect (Point2F p, Matrix4x4F xm, Double tolerance) Returns true if a point will intersect part of the primitive. Used for mouse hit testing. Parameters: p: The test point. xm: Transformation matrix. tolerance: How close the point must be to be considered a hit. Returns: |
|
| ToPolyline |
Polyline ToPolyline (Double tolerance) | |
| Update |
Void Update () Instructs the primitive to refresh any internal data if the the object has changed. |