public class SoFaceDetail extends SoDetail
Note that when an SoFaceDetail
is returned from picking (in an SoPickedPoint
), it will contain details for all points defining the face that was intersected. However, when an SoFaceDetail
is created for a triangle produced during primitive generation (in an SoPrimitiveVertex
), it will contain details for only the three vertices of the triangle.
See also:
Inventor.ConstructorCommand
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
SoFaceDetail()
Constructor.
|
SoFaceDetail(SoFaceDetail copyFrom) |
Modifier and Type | Method and Description |
---|---|
SoDetail |
copy()
Returns an instance that is a copy of this instance.
|
int |
getFaceIndex()
Returns the index of the face within the shape.
|
int |
getNumPoints()
Returns the number of points in the face.
|
int |
getPartIndex()
Returns the index of the part containing the face within the shape.
|
SoPointDetail |
getPoint(int i)
Returns information about the point forming the i'th vertex of the face, represented as an
SoPointDetail . |
SoPointDetail |
getPoints() |
void |
setFaceIndex(int i) |
void |
setNumPoints(int num) |
void |
setPartIndex(int i) |
void |
setPoint(int index,
SoPointDetail pd) |
dispose, getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
public SoFaceDetail(SoFaceDetail copyFrom)
public SoFaceDetail()
public int getNumPoints()
public void setPoint(int index, SoPointDetail pd)
public int getPartIndex()
public void setPartIndex(int i)
public SoDetail copy()
public void setFaceIndex(int i)
public SoPointDetail getPoint(int i)
SoPointDetail
.public void setNumPoints(int num)
public int getFaceIndex()
public SoPointDetail getPoints()
Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com