Method | Description | |
---|---|---|
CheckSelectedMass ( ) : bool |
check whether the selection is a parallelepiped mass
|
|
MassChecker ( |
Constructor
|
Method | Description | |
---|---|---|
ComputeCrossProduct ( System.Edge edgeA, System.Edge edgeB ) : Utility.Vector4 |
compute the cross product of 2 edges
|
|
GetMassFaceArray ( FamilyInstance mass ) : FaceArray |
get the faces of the mass
|
|
GetSelectedMass ( ) : FamilyInstance |
get the selected mass
|
|
IsFacesParallel ( FaceArray faces ) : bool |
check whether the faces of the mass are one-one parallel
|
|
IsLinesParallel ( System.Edge edgeA, System.Edge edgeB ) : bool |
check whether 2 edges are parallel
|
|
IsLinesParallel ( Utility vec4A, Utility vec4B ) : bool |
check whether 2 vectors are parallel
|
|
IsMassParallelepiped ( FamilyInstance mass ) : bool |
check whether the mass is a parallelepiped mass by checking the faces' normals (if it's a parallelepiped mass, it will have 3 groups of parallel faces)
|
public MassChecker ( |
||
mydoc | /// the document of the sample /// | |
return | System |