HalfEdgePositionDetail Class
Description of a generalized position within a graph, categorized as:
- "at a certain node around a vertex"
- "at a fractional position along an edge
- "within a face"
Methods
Name | Description | |
---|---|---|
clonePoint(result?: Point3d): Point3d | Return the (clone of, or optional filled in result) coordinates from this detail. | |
getDTag(): undefined | number | ||
getITag(): undefined | number | ||
getTopo(): HalfEdgeTopo | ||
isAtXY(x: number, y: number): boolean | ||
resetAsFace(node?: , xyz?: Readonly<WritableXYAndZ>): HalfEdgePositionDetail | reassign contents so this instance becomes a face hit. | |
resetAsUndefinedWithTag(dTag: number): HalfEdgePositionDetail | reassign contents so this instance has dTag but no node or HalfEdgeTopo | |
resetAsUnknown(): void | reset to null topo state. | |
resetAsVertex(node: ): HalfEdgePositionDetail | Create with node and (optional) xyz, marked as "HalfEdgeTopo.Vertex" | |
resetAtEdgeAndFraction(node: , edgeFraction: number): HalfEdgePositionDetail | reassign contents so this instance becomes an edge hit | |
setDTag(value: number): void | ||
setFrom(other: HalfEdgePositionDetail): void | Copy (clones of) all data from other | |
setITag(value: number): void | ||
setXYZFromNode(node: ): void | Copy x,y,z from the node to this instance local values. | |
create(): HalfEdgePositionDetail Static | Create with null data. | |
createEdgeAtFraction(node: , edgeFraction: number): HalfEdgePositionDetail Static | Create with node, fraction along edge, marked as "HalfEdgeTopo.Edge". | |
createVertex(node: ): HalfEdgePositionDetail Static | Create at a node. |
Properties
Defined in
Last Updated: 11 June, 2024