public interface GeomInfo extends ModelEntity
Modifier and Type | Method and Description |
---|---|
void |
check()
Throws an exception if the geometry is invalid.
|
double[] |
edgeCurvature(int edge,
double[] s)
Evaluates edge curvature at the specified parameters.
|
double[][] |
edgeDDDX(int edge,
double[] s)
Evaluates the parameters to third order derivative values.
|
double[][] |
edgeDDX(int edge,
double[] s)
Evaluates the parameters to second order derivative values.
|
double[][] |
edgeDX(int edge,
double[] s)
Evaluates the parameters to first order derivative values.
|
double[] |
edgeMaxFaceAngle(int[] edge,
int[] face1,
int[] face2)
Compute the "maximum" along a 3D edge of the angle (in radians)
between the normal vectors of two faces that are adjacent to the
edge.
|
double[][] |
edgeNormal(int edge,
double[] s)
Evaluates the parameters to normal vector values in 2D.
|
double[] |
edgeParamRange(int edge)
Returns the parameter range for evaluation on the edge.
|
double[] |
edgeTorsion(int edge,
double[] s)
Evaluates the parameters to torsion values.
|
double[][] |
edgeX(int edge,
double[] s)
Evaluates the parameters to coordinate values.
|
boolean |
exists()
Check if an object exists.
|
double[][][][] |
faceDDX(int face,
double[][] param)
Evaluates the parameters to second order derivative values.
|
double[][][] |
faceDX(int face,
double[][] param)
Evaluates the parameters to first order derivative values.
|
double[][][] |
faceFF1(int face,
double[][] param)
Evaluates the parameters to the first fundamental form values.
|
double[][][] |
faceFF2(int face,
double[][] param)
Evaluates the parameters to the second fundamental form values.
|
double[] |
faceGaussCurvature(int face,
double[][] param)
Evaluates the parameters to Gauss curvature values.
|
double[] |
faceMeanCurvature(int face,
double[][] param)
Evaluates the parameters to mean curvature values.
|
double[][] |
faceNormal(int face,
double[][] param)
Evaluates the parameters to normal vector values.
|
double[] |
faceParamRange(int face)
Returns two parameter ranges for evaluation on the face.
|
double[][] |
faceX(int face,
double[][] param)
Evaluates the parameters to coordinate values.
|
int[][] |
getAdj(int fromDim,
int toDim)
Gets adjacency between entities in dimensions fromDim and toDim.
|
int[] |
getAdj(int fromDim,
int toDim,
int fromIdx)
Gets adjacent entities in dimension toDim to entity fromIdx in
dimension fromDim.
|
int[][] |
getAdjExt(int fromDim,
int toDim)
Gets extended adjacency between entities in dimensions fromDim and
toDim.
|
int[] |
getAdjExt(int fromDim,
int toDim,
int fromIdx)
Gets adjacent entities in dimension toDim to entity fromIdx in
dimension fromDim.
|
int[][] |
getAdjExtOrient(int fromDim,
int toDim)
Get relative orientation between adjacent entities in dimensions
fromDim to toDim.
|
int[] |
getAdjExtOrient(int fromDim,
int toDim,
int fromIdx)
Get relative orientation between entity fromIdx in dimension fromDim
and its adjacent entities in dimension toDim.
|
int[][] |
getAdjOrient(int fromDim,
int toDim)
Get relative orientation between adjacent entities in dimensions
fromDim to toDim.
|
int[] |
getAdjOrient(int fromDim,
int toDim,
int fromIdx)
Get relative orientation between entity fromIdx in dimension fromDim
and its adjacent entities in dimension toDim.
|
int[][] |
getAdjSparse(int fromDim,
int toDim)
Gets adjacency between entities in dimensions fromDim and toDim.
|
double[] |
getBoundingBox()
Returns bounding box of object.
|
double[][] |
getEdge()
Gets edge matrix.
|
double[][] |
getFace()
Gets face matrix.
|
int |
getNBoundaries()
Gets number of boundaries.
|
int |
getNDomains()
Gets number of domains.
|
int |
getNEdges()
Gets number of edges.
|
int[] |
getNEntities()
Gets number of entities of each dimension.
|
int[] |
getNEntitiesMesh()
Get number of entities in mesh construction geometry.
|
int |
getNFaces()
Gets number of faces.
|
int |
getNFiniteVoids()
Gets number of finite void regions.
|
int |
getNVertices()
Gets number of vertices.
|
double[][] |
getPEdge()
Gets parameter edges (embeddings of edges in faces).
|
double[][] |
getPVertex()
Gets parameter vertices (embeddings of vertices in faces).
|
double[] |
getSD()
Returns the domain index for each vertex.
|
int |
getSDim()
Returns the space dimension.
|
int[][] |
getStartEnd()
Returns a 2 x (number of edges) matrix with start and end points for
edges.
|
java.lang.String |
getType()
Returns the object type: solid, surface, curve, point, mixed, or
empty.
|
int[][] |
getUpDown()
Returns the up and down domain number for all boundaries in the first
and second row of the returned matrix.
|
int[][] |
getUpDownExt()
Returns the up and down domain number for all boundaries in the first
and second row of the returned matrix, using the extended domain
numbering.
|
double[][] |
getVertex()
Gets vertices.
|
double[][] |
getVertexCoord()
Get point coordinates as a sdim x (number of points) matrix.
|
int[] |
getVertexDomain()
Returns the domain index for each vertex.
|
double[][] |
getVtx()
Gets vertices.
|
boolean |
hasCadRep()
Checks if the object is represented using the CAD Import Module's
geometry kernel.
|
boolean |
voidsAreLabeled()
Returns
true if all finite void regions are labeled with
negative domain indices in the serialization (mphtxt/mphbin file). |
active, author, author, comments, comments, dateCreated, dateModified, docMarker, docMarker, help, help, icon, isactive, isActive, label, label, lastModifiedBy, model, model, name, name, resetAuthor, scope, tag, tag, timeCreated, timeModified, version, version
getContainer, getDisplayString
void check()
double[] edgeCurvature(int edge, double[] s)
edge
- Edge index.s
- Vector of parameter values.double[][] edgeDDDX(int edge, double[] s)
edge
- Edge index.s
- Vector of parameter values.double[][] edgeDDX(int edge, double[] s)
edge
- Edge index.s
- Vector of parameter values.double[][] edgeDX(int edge, double[] s)
edge
- Edge index.s
- Vector of parameter values.double[] edgeMaxFaceAngle(int[] edge, int[] face1, int[] face2)
edge
- Vector of edge indices.face1
- Vector of first face indices.face2
- Vector of second face indices.double[][] edgeNormal(int edge, double[] s)
edge
- Vector of parameter values.s
- Vector of parameter values.double[] edgeParamRange(int edge)
edge
- Edge index.double[] edgeTorsion(int edge, double[] s)
edge
- Edge index.s
- Vector of parameter values.double[][] edgeX(int edge, double[] s)
edge
- Edge index.s
- Vector of parameter values.boolean exists()
true
if object exists.double[][][][] faceDDX(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.double[][][] faceDX(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.double[][][] faceFF1(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.double[][][] faceFF2(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.double[] faceGaussCurvature(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.double[] faceMeanCurvature(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.double[][] faceNormal(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.double[] faceParamRange(int face)
face
- Face index.double[][] faceX(int face, double[][] param)
face
- Face index.param
- Matrix of parameter values.int[][] getAdj(int fromDim, int toDim)
fromDim
- From dimension.toDim
- To dimension.int[] getAdj(int fromDim, int toDim, int fromIdx)
fromDim
- From dimension.toDim
- To dimension.fromIdx
- From entity.int[][] getAdjExt(int fromDim, int toDim)
fromDim
- From dimension.toDim
- To dimension.int[] getAdjExt(int fromDim, int toDim, int fromIdx)
fromDim
- From dimension.toDim
- To dimension.fromIdx
- From entity.int[][] getAdjExtOrient(int fromDim, int toDim)
fromDim
- From dimension.toDim
- To dimension.int[] getAdjExtOrient(int fromDim, int toDim, int fromIdx)
fromDim
- From dimension.toDim
- To dimension.fromIdx
- From entity.int[][] getAdjOrient(int fromDim, int toDim)
fromDim
- From dimension.toDim
- To dimension.int[] getAdjOrient(int fromDim, int toDim, int fromIdx)
fromDim
- From dimension.toDim
- To dimension.fromIdx
- From entity.int[][] getAdjSparse(int fromDim, int toDim)
fromDim
- From dimension.toDim
- To dimension.double[] getBoundingBox()
double[][] getEdge()
double[][] getFace()
int getNBoundaries()
int getNDomains()
int getNEdges()
int[] getNEntities()
int[] getNEntitiesMesh()
int getNFaces()
int getNFiniteVoids()
int getNVertices()
double[][] getPEdge()
double[][] getPVertex()
double[] getSD()
int getSDim()
int[][] getStartEnd()
java.lang.String getType()
int[][] getUpDown()
int[][] getUpDownExt()
double[][] getVertex()
double[][] getVertexCoord()
int[] getVertexDomain()
double[][] getVtx()
boolean hasCadRep()
true
if CAD representation.boolean voidsAreLabeled()
true
if all finite void regions are labeled with
negative domain indices in the serialization (mphtxt/mphbin file).
This also affects the domain indices in getAdjExt(),
getAdjOrientExt(), getUpDownExt(), getFace(), getEdge(), and
getVertex().false
if some finite void regions might be denoted with 0
in the serialization, like in version 4.2.