Class to manage faces.
|
|
__init__(self,
index,
indices,
points,
num_unique)
Create a face instance. |
|
|
|
list
|
|
|
|
setNormal(self)
Set the normal to this face. |
|
|
|
|
setArea(self)
Set the area of this face. |
|
|
|
list
|
getReferenceEdges(self,
edges,
num_unique)
Return a list containing the num_unique number of unique edges. |
|
|
|
numpy.array or None
|
intersectSegmentAndPlane(self,
line_start,
line_end,
inf_nan_thresh=1e-12,
distance_thresh=0.0001)
Return the intersection point of the specified line segment and the
plane in which this face resides or return None if there is no
intersection. |
|
|
|
bool
|
insideFace(self,
point)
Return true if the query point lies on or inside the boundaries of
this face, false otherwise. |
|
|
|
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|