Class MoLineDetailI
- java.lang.Object
-
- com.openinventor.inventor.Inventor
-
- com.openinventor.inventor.details.SoDetail
-
- com.openinventor.inventor.details.SoLineDetail
-
- com.openinventor.meshvizxlm.mapping.details.MoLineDetail
-
- com.openinventor.meshvizxlm.mapping.details.MoLineDetailI
-
- All Implemented Interfaces:
java.lang.Cloneable
public class MoLineDetailI extends MoLineDetail implements java.lang.Cloneable
Stores detail information about vertex-based shapes made of line segments from unstructured meshes and structured line meshes.This class contains detail information about a line segment in a vertex-based shape made of line segments (extends
MoLineDetail
). Additional information includes the index of the cell containing the line segment in the mesh stored in the associatedMoMeshDetail
(seeMoLineDetail.getMeshDetail()
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MoLineDetailI
clone()
SoDetail
copy()
Returns an instance that is a copy of this instance.long
getCellIndex()
Returns the index of the cell containing the line segment within the input mesh.-
Methods inherited from class com.openinventor.meshvizxlm.mapping.details.MoLineDetail
getMeshDetail, getMeshRepresentationDetail, getValue
-
Methods inherited from class com.openinventor.inventor.details.SoLineDetail
getLineIndex, getPartIndex, getPoint, getPoint0, getPoint1, getPoints, setLineIndex, setPartIndex, setPoint, setPoint0, setPoint1
-
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
-
-
-
Method Detail
-
getCellIndex
public long getCellIndex()
Returns the index of the cell containing the line segment within the input mesh.- Returns:
- the cell index
-
copy
public SoDetail copy()
Description copied from class:SoLineDetail
Returns an instance that is a copy of this instance. The caller is responsible for deleting the copy when it is no longer needed.- Overrides:
copy
in classMoLineDetail
-
clone
public MoLineDetailI clone()
- Overrides:
clone
in classMoLineDetail
-
-