Add
| Void Add (Double x, Double y, Double z) |
Add
| Void Add (Double x, Double y) |
Add
| Void Add (Point3F p) |
Add
| Void Add (Point2F p) |
ApplyTransformation
| Boolean ApplyTransformation (Matrix4x4F xm) Multiply the points in the object by a transformation matrix. |
Clone
| Entity Clone () |
CloneFrom
| Void CloneFrom (Entity src) |
GetCentroid
| Point3F GetCentroid () |
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 () |