AutoOpenPlane Module
When Rhino.Scripting.FSharp is opened this module will be auto-opened. It only contains extension members for type Plane.
Type extensions
| Type extension |
Description
|
|
|
|
|
|
Returns the angle to a 3D vector in Degrees, ignoring the plane's orientation. So 0.0 if the vector is parallel to the Plane. And 90 degrees if the vector is perpendicular to the plane. Fails if the vector is too short (IsZeroLength shorter than 1e-12).
Extended Type:
|
|
|
|
|
Full Usage:
this.EvaluateAt
Parameters:
float
py : float
pz : float
Returns: Point3d
Modifiers: inline |
|
|
|
Full Usage:
this.IsCoincidentTo
Parameters:
Plane
distanceTolerance : float
minCosine : float<MeasureProduct<cosine, MeasureOne>>
Returns: bool
Modifiers: inline |
Checks if two Planes 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 minimum cosine value. See Rhino.Scripting.FSharp:.Cosine module.
Extended Type:
|
|
|
Full Usage:
this.PointParameters
Parameters:
Point3d
Returns: float * float * float
Modifiers: inline |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
Plane.WorldTop()
Parameters:
unit
Returns: obj
|
Returns the World Coordinate System Plane at World Origin. X-axis = World X-axis Y-axis = World Y-axis Z-axis = World Z-axis same as Plane.WorldXY
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-5.
Extended Type:
|
|
|
|
Creates a Parametrized Plane from a point and vector representing the X-axis. The resulting Plane 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-5.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns the line parameter and the X and Y parameters on the Plane as tuple (pLn, pPlX, pPlY). The parameter is the intersection point of the infinite Line with the Plane. Returns None if they are parallel or coincident.
Extended Type:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Rhino.Scripting.Fsharp