CADability dotNET
The Plane type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Align(GeoPoint2D) | |
![]() | Align(Plane, Boolean) |
Aligns the DirectionX and DirectionY vectors of this plane
so that the projection of DirectionX of AlignTo and DircetionX of this plane are parallel.
If the two planes are parallel, the DirectionX and DirectionY of both planes will
also be parallel. The plane will not be changed. The Location of this
plane will be changed to a point closest to the location of AlignTo, if relocate
is true, otherwise the location remains unchanged.
|
![]() | Align(Plane, Boolean, Boolean) |
Aligns the DirectionX and DirectionY vectors of this plane
so that the projection of DirectionX of AlignTo and DircetionX of this plane are parallel.
If the two planes are parallel, the DirectionX and DirectionY of both planes will
also be parallel. The plane will not be changed. The Location of this
plane will be changed to a point closest to the location of AlignTo, if relocate
is true, otherwise the location remains unchanged. If flip is true
there is an additional check whether the angle between the two normal vectors is less than
90°. If not, the y-axis is reversed and the angle between the two normal vectors will be
less than 90°
|
![]() | Distance |
Returns the signed distance of the point from the plane. The direction of the normal vector
of the plane determins the sign of the result.
|
![]() | Elem | |
![]() ![]() | FromPoints |
Finds a plane that best fits through the given points. Calculates also the maximum distance
of the points from that plane. If MaxDistance is 0.0 or small, the points are coplanar.
|
![]() | GetProjection |
Returns a projection that projects (perpendiccular) from global space to this plane
|
![]() | Interfere | |
![]() | Intersect(GeoPoint, GeoVector) |
Returns the intersection plane of the line given by the parameters with this plane.
|
![]() | Intersect(Plane, GeoPoint%, GeoVector%) | |
![]() ![]() | Intersect3Planes | |
![]() | IsValid |
An uninitialized plane is invalid, because its normal vector is (0,0,0).
|
![]() | Modify | |
![]() | Offset |
Returns a plane parallel to this plane with the given offset
|
![]() | Project(GeoPoint) |
Projects the given point (perpendicular) onto this plane and returns the two-dimensional
point as expressed in the coordinate system of this plane.
|
![]() | Project(GeoVector) |
Projects the given vector (perpendicular) onto this plane and returns the two-dimensional
vector as expressed in the coordinate system of this plane.
|
![]() | Reverse | |
![]() | ToGlobal(GeoPoint) |
Inverse to the appropriate ToLocal(GeoPoint) method. The given point
is assumed in the coordinate ststem of this plane.
Returns the point in the global coordinate system.
|
![]() | ToGlobal(GeoPoint2D) |
Inverse to the appropriate Project(GeoPoint) method. Returns the point in the
global coordinate system
|
![]() | ToGlobal(GeoVector) |
Returns the 3D GeoVector corresponding to the given GeoVector in the coordinate
system of the plane.
|
![]() | ToGlobal(GeoVector2D) |
Inverse to the appropriate Project(GeoVector) method. Returns the vector in the
global coordinate system
|
![]() | ToLocal(GeoPoint) |
Returns the point as expressed in the coordinate system of this plane
|
![]() | ToLocal(GeoVector) |
Returns the vector as expressed in the coordinate system of this plane
|
![]() | ToLocal(Plane) |
Returns the plane given in parameter p expressed in the coordinate system of this plane
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | ISerializable..::..GetObjectData |