Surface

A 3D surface

Public Fields

Faces
CamBam.Geom.TriangleFace[]
Points
CamBam.Geom.Point3FArray
A list of 3D points.

Properties

CADFile
readonly

CADFile
The name of the layer that contains this primitive.

ID

System.Int32
This is a unique ID used to select objects within scripts.

Layer
readonly

Layer
The name of the layer that contains this primitive.

NumFaces
readonly

System.Int32
 

NumVertices
readonly

System.Int32
 

Parent

System.Object
This primitive's parent object. This may be a GOBLayer.

PrimitiveType
readonly

System.String
A string representation of this primitive's type

Tag

System.String
 

Transform

CamBam.Geom.Matrix4x4F
 

Methods

ApplyTransformation
Boolean ApplyTransformation (Matrix4x4F xm)
Multiply the points in the object by a transformation matrix.
Clone
Entity Clone ()
CloneFrom
Void CloneFrom (Entity src)
GetEdgeList2F
Dictionary`2 GetEdgeList2F (Boolean returnfaces)
GetEdgeList3F
Dictionary`2 GetEdgeList3F (Boolean returnfaces)
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.
GetFace
Triangle3F GetFace (Int32 face)
GetScreenExtents
Void GetScreenExtents (PointF& min, PointF& max, Matrix4x4F xm)
GetZAtPoint2
Double GetZAtPoint2 (Int32 f, Triangle3F tri, Point2F p)
GetZAtPoint
Double GetZAtPoint (Int32 f, Double TestX, Double TestY, Double TestZMax, Double TestZMin)
GetZAtPoint
Double GetZAtPoint (Double TestX, Double TestY, Double TestZMax, Double TestZMin)
LoadFromRAW
Void LoadFromRAW (String filename)
Normal
Vector3F Normal (Int32 f)
Paint
Void Paint (Display3D d3d)
PlaneSlice
Polyline[] PlaneSlice (Char Axis, Double offset)
PointIntersect
Boolean PointIntersect (Point2F p, Matrix4x4F xm, Double tolerance)
PointIntersect
Boolean PointIntersect (Point2F p, Matrix4x4F m, Double tolerance, Point3F& nearest)
Update
Void Update ()