Internal: Component constructor
type of the component. Ex. "TransformComponent"
Owning entity. Entity only passed when wrapping existing entity.
Number in [0,1) that indicates how hard the frame should try to align to the anchors.
Positive distances along trajectory. For wells Measured Depth (MD). Set same length of indexes and positions.
Internal flag set if component is a Cogs Core component.
(Contents: vec3[]) Trajectory positions. For wells the Z component is a measurement of True Vertical Depth (TVD). Set same length of indexes and positions.
Frames should have its local Y axis in the plane spanned between the trajectory tangent and the interpolated anchor.
Gets the optional owning entity
Component name == type. For compatibility
Gets the type of the component. Ex. "TransformComponent", "SceneComponent" etc.
Static
createInternal: Creates a new component of the given type (name). Component is wrapped when adding to an entity.
Type of the component. Ex. "TransformComponent"
Created Cogs.js component.
Static
wrap
Data component defining a 3D trajectory, for example a Well trajectory. The owning entity (typically Trajectory entity) is referred to by other components for actual drawing, like ExtrusionComponent, TrajectoryAlignedComponent, VariableExtrusionComponentTrajectoryCrossSectionsComponent, DepthAxisComponent