Skip to main content

Class: _1DShape<Type>

Type parameters

NameType
Typeextends TopoDS_Shape

Hierarchy

Constructors

constructor

new _1DShape<Type>(ocShape)

Type parameters

NameType
Typeextends TopoDS_Shape<Type>

Parameters

NameType
ocShapeType

Inherited from

Shape.constructor

Defined in

shapes.ts:151

Accessors

boundingBox

get boundingBox(): BoundingBox

Returns

BoundingBox

Inherited from

Shape.boundingBox

Defined in

shapes.ts:309


curve

get curve(): Curve

Returns

Curve

Defined in

shapes.ts:559


edges

get edges(): Edge[]

Returns

Edge[]

Inherited from

Shape.edges

Defined in

shapes.ts:297


endPoint

get endPoint(): Vector

Returns

Vector

Defined in

shapes.ts:570


faces

get faces(): Face[]

Returns

Face[]

Inherited from

Shape.faces

Defined in

shapes.ts:301


geomType

get geomType(): CurveType

Returns

CurveType

Defined in

shapes.ts:606


hashCode

get hashCode(): number

Returns

number

Inherited from

Shape.hashCode

Defined in

shapes.ts:159


isClosed

get isClosed(): boolean

Returns

boolean

Defined in

shapes.ts:584


isNull

get isNull(): boolean

Returns

boolean

Inherited from

Shape.isNull

Defined in

shapes.ts:163


isPeriodic

get isPeriodic(): boolean

Returns

boolean

Defined in

shapes.ts:592


period

get period(): number

Returns

number

Defined in

shapes.ts:599


repr

get repr(): string

Returns

string

Defined in

shapes.ts:551


startPoint

get startPoint(): Vector

Returns

Vector

Defined in

shapes.ts:563


wires

get wires(): Wire[]

Returns

Wire[]

Inherited from

Shape.wires

Defined in

shapes.ts:305


wrapped

get wrapped(): Type

Returns

Type

Inherited from

Shape.wrapped

Defined in

register.ts:39

set wrapped(newWrapped): void

Parameters

NameType
newWrappedType

Returns

void

Inherited from

Shape.wrapped

Defined in

register.ts:44

Other Methods

clone

clone(): _1DShape<Type>

Returns

_1DShape<Type>

Inherited from

Shape.clone

Defined in

shapes.ts:155


delete

delete(): void

Returns

void

Inherited from

Shape.delete

Defined in

register.ts:54


isEqual

isEqual(other): boolean

Parameters

NameType
otherAnyShape

Returns

boolean

Inherited from

Shape.isEqual

Defined in

shapes.ts:171


isSame

isSame(other): boolean

Parameters

NameType
otherAnyShape

Returns

boolean

Inherited from

Shape.isSame

Defined in

shapes.ts:167


simplify

simplify(): _1DShape<Type>

Returns

_1DShape<Type>

Inherited from

Shape.simplify

Defined in

shapes.ts:178


tangentAt

tangentAt(position?): Vector

Parameters

NameTypeDefault value
positionnumber0

Returns

Vector

Defined in

shapes.ts:577


Shape Export Methods

blobSTEP

blobSTEP(): Blob

Returns

Blob

Inherited from

Shape.blobSTEP

Defined in

shapes.ts:485


blobSTL

blobSTL(__namedParameters?): Blob

Parameters

NameType
__namedParametersObject
__namedParameters.angularToleranceundefined | number
__namedParameters.toleranceundefined | number

Returns

Blob

Inherited from

Shape.blobSTL

Defined in

shapes.ts:524


mesh

mesh(__namedParameters?): ShapeMesh

Parameters

NameType
__namedParametersObject
__namedParameters.angularToleranceundefined | number
__namedParameters.toleranceundefined | number

Returns

ShapeMesh

Inherited from

Shape.mesh

Defined in

shapes.ts:331


meshEdges

meshEdges(__namedParameters?): Object

Parameters

NameType
__namedParametersObject
__namedParameters.angularToleranceundefined | number
__namedParameters.toleranceundefined | number

Returns

Object

NameType
edgeGroups{ count: number ; edgeId: number ; start: number }[]
linesnumber[]

Inherited from

Shape.meshEdges

Defined in

shapes.ts:368


Shape Transformations Methods

mirror

mirror(inputPlane, origin): _1DShape<Type>

Parameters

NameType
inputPlanePlane | PlaneName | Point
originPoint

Returns

_1DShape<Type>

Inherited from

Shape.mirror

Defined in

shapes.ts:264


rotate

rotate(angle, position?, direction?): _1DShape<Type>

Parameters

NameType
anglenumber
positionPoint
directionPoint

Returns

_1DShape<Type>

Inherited from

Shape.rotate

Defined in

shapes.ts:247


scale

scale(scale, center?): _1DShape<Type>

Parameters

NameType
scalenumber
centerPoint

Returns

_1DShape<Type>

Inherited from

Shape.scale

Defined in

shapes.ts:278


translate

translate(xDist, yDist, zDist): _1DShape<Type>

Parameters

NameType
xDistnumber
yDistnumber
zDistnumber

Returns

_1DShape<Type>

Inherited from

Shape.translate

Defined in

shapes.ts:200

translate(vector): _1DShape<Type>

Parameters

NameType
vectorPoint

Returns

_1DShape<Type>

Inherited from

Shape.translate

Defined in

shapes.ts:201


translateX

translateX(distance): _1DShape<Type>

Parameters

NameType
distancenumber

Returns

_1DShape<Type>

Inherited from

Shape.translateX

Defined in

shapes.ts:220


translateY

translateY(distance): _1DShape<Type>

Parameters

NameType
distancenumber

Returns

_1DShape<Type>

Inherited from

Shape.translateY

Defined in

shapes.ts:229


translateZ

translateZ(distance): _1DShape<Type>

Parameters

NameType
distancenumber

Returns

_1DShape<Type>

Inherited from

Shape.translateZ

Defined in

shapes.ts:238