FreeBox Type
A class containing an array of 8 points representing an arbitrary 3D Box. The points can be in arbitrary position in space.
7 6
+---------------+
/| /|
/ | / |
4 / | 5 / |
+---------------+ |
| | | |
| +-----------|---+
| / 3 | / 2
| / | /
|/ |/
+---------------+
0 1
Instance members
| Instance member |
Description
|
Full Usage:
this.AsFSharpCode
Returns: string
|
Format FreeBox into an F# code string that can be used to recreate the box.
|
Full Usage:
this.AsString
Returns: string
|
Format Box into string with nice floating point number formatting of X, Y and Z size only. But without type name as in v.ToString()
|
|
|
|
|
|
|
|
|
|
The first point of the Box array.
|
|
The 8 points that make up the box.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Multiplies (or applies) a Quaternion to the FreeBox. The box is rotated around the World Origin.
|
|
Multiplies (or applies) a Quaternion to the FreeBox around a given center point.
|
|
|
|
|
Full Usage:
this.SizeX
Returns: float
|
The length of the Box from Pt0 to Pt1 in the X direction.
|
Full Usage:
this.SizeY
Returns: float
|
The length of the Box from Pt0 to Pt3 in the Y direction.
|
Full Usage:
this.SizeZ
Returns: float
|
The length of the Box from Pt0 to Pt4 in the Z direction.
|
|
|
|
|
|
The vector from Pt0 to Pt1 defining the X axis direction and length.
|
|
The vector from Pt0 to Pt3 defining the Y axis direction and length.
|
|
The vector from Pt0 to Pt4 defining the Z axis direction and length.
|
Static members
| Static member |
Description
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Full Usage:
FreeBox.rotate q b
Parameters:
Quaternion
b : FreeBox
Returns: FreeBox
Modifiers: inline |
Multiplies (or applies) a Quaternion to the FreeBox. The box is rotated around the World Origin.
|
Full Usage:
FreeBox.rotateWithCenter cen q b
Parameters:
Pnt
q : Quaternion
b : FreeBox
Returns: FreeBox
Modifiers: inline |
Multiplies (or applies) a Quaternion to the FreeBox around a given center point.
|
|
|
|
|
Full Usage:
FreeBox.transformRigid m b
Parameters:
RigidMatrix
b : FreeBox
Returns: FreeBox
Modifiers: inline |
|
|
Euclid