AutoOpenPPlane Module
When Euclid is opened this module will be auto-opened. It only contains extension members for type PPlane.
Type extensions
Type extension |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
this.EvaluateAt
Parameters:
float
py : float
pz : float
Returns: Pnt
Modifiers: inline |
|
|
|
Full Usage:
this.IsCoincidentTo
Parameters:
PPlane
distanceTolerance : float
minCosine : float<MeasureProduct<cosine, MeasureOne>>
Returns: bool
Modifiers: inline |
Checks if two PPlanes are coincident within the distance tolerance. 1e-6 by default. This means that their Z-axes are parallel within the angle tolerance and the distance of second origin to the first plane is less than the distance tolerance. The default angle tolerance is 0.25 degrees. This tolerance can be customized by an optional minium cosine value. See Euclid.Cosine module.
Extended Type:
|
|
|
Full Usage:
this.PointParameters
Parameters:
Pnt
Returns: float * float * float
Modifiers: inline |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Creates a Parametrized Plane from a point and unit-vector representing the normal (or Z-axis). The X-axis will be found by taking the Cross Product of the World Z-axis and the given normal (or Z-axis). This will make the X-axis horizontal. If this fails because they are coincident, the Cross Product of the World Y-axis and the given normal (or Z-axis) will be used.
Extended Type:
|
|
Creates a Parametrized Plane from a point and vector representing the normal (or Z-axis). The X-axis will be found by taking the Cross Product of the World Z-axis and the given normal (or Z-axis). This will make the X-axis horizontal. If this fails because they are coincident, the Cross Product of the World Y-axis and the given normal (or Z-axis) will be used. Fails if the vectors are shorter than 1e-6.
Extended Type:
|
|
Creates a Parametrized Plane from a point and unit-vector representing the Z-axis. The given X vector does not need to be perpendicular to the normal vector, just not parallel. Fails if the vectors are shorter than 1e-6 or normal and xAxis are parallel within 1 degree.
Extended Type:
|
|
|
|
Creates a Parametrized Plane from a point and a unit-vector representing the X-axis and a Y-axis hint. The resulting PPlane will have the X-Axis in direction of X vector. The X and Y vectors will define the plane and the side that Z will be on. The given Y vector does not need to be perpendicular to the X vector, just not parallel. Fails if the vectors are shorter than 1e-6.
Extended Type:
|
|
Creates a Parametrized Plane from a point and vector representing the X-axis and a Y-axis hint. The resulting PPlane will have the X-Axis in direction of X vector. The X and Y vectors will define the plane and the side that Z will be on. The given Y vector does not need to be perpendicular to the X vector, just not parallel. Fails if the vectors are shorter than 1e-6.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the line parameter and the X and Y parameters on the Plane. as tuple (pLn, pPlX, pPlY). The parameters is the intersection point of the infinite Line3D with the PPlane. Returns None if they are parallel or coincident.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Transforms the plane by the given RigidMatrix. The returned PPlane has orthogonal unit-vectors.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|