Skip to main content

Class: Edge

Hierarchy

Constructors

constructor

new Edge(ocShape)

Parameters

NameType
ocShapeTopoDS_Edge

Inherited from

_1DShape.constructor

Defined in

shapes.ts:151

Accessors

boundingBox

get boundingBox(): BoundingBox

Returns

BoundingBox

Inherited from

_1DShape.boundingBox

Defined in

shapes.ts:309


curve

get curve(): Curve

Returns

Curve

Inherited from

_1DShape.curve

Defined in

shapes.ts:559


edges

get edges(): Edge[]

Returns

Edge[]

Inherited from

_1DShape.edges

Defined in

shapes.ts:297


endPoint

get endPoint(): Vector

Returns

Vector

Inherited from

_1DShape.endPoint

Defined in

shapes.ts:570


faces

get faces(): Face[]

Returns

Face[]

Inherited from

_1DShape.faces

Defined in

shapes.ts:301


geomType

get geomType(): CurveType

Returns

CurveType

Inherited from

_1DShape.geomType

Defined in

shapes.ts:606


hashCode

get hashCode(): number

Returns

number

Inherited from

_1DShape.hashCode

Defined in

shapes.ts:159


isClosed

get isClosed(): boolean

Returns

boolean

Inherited from

_1DShape.isClosed

Defined in

shapes.ts:584


isNull

get isNull(): boolean

Returns

boolean

Inherited from

_1DShape.isNull

Defined in

shapes.ts:163


isPeriodic

get isPeriodic(): boolean

Returns

boolean

Inherited from

_1DShape.isPeriodic

Defined in

shapes.ts:592


length

get length(): number

Returns

number

Defined in

shapes.ts:677


period

get period(): number

Returns

number

Inherited from

_1DShape.period

Defined in

shapes.ts:599


repr

get repr(): string

Returns

string

Inherited from

_1DShape.repr

Defined in

shapes.ts:551


startPoint

get startPoint(): Vector

Returns

Vector

Inherited from

_1DShape.startPoint

Defined in

shapes.ts:563


wires

get wires(): Wire[]

Returns

Wire[]

Inherited from

_1DShape.wires

Defined in

shapes.ts:305


wrapped

get wrapped(): Type

Returns

Type

Inherited from

_1DShape.wrapped

Defined in

register.ts:39

set wrapped(newWrapped): void

Parameters

NameType
newWrappedType

Returns

void

Inherited from

_1DShape.wrapped

Defined in

register.ts:44

Other Methods

clone

clone(): Edge

Returns

Edge

Inherited from

_1DShape.clone

Defined in

shapes.ts:155


delete

delete(): void

Returns

void

Inherited from

_1DShape.delete

Defined in

register.ts:54


isEqual

isEqual(other): boolean

Parameters

NameType
otherAnyShape

Returns

boolean

Inherited from

_1DShape.isEqual

Defined in

shapes.ts:171


isSame

isSame(other): boolean

Parameters

NameType
otherAnyShape

Returns

boolean

Inherited from

_1DShape.isSame

Defined in

shapes.ts:167


simplify

simplify(): Edge

Returns

Edge

Inherited from

_1DShape.simplify

Defined in

shapes.ts:178


tangentAt

tangentAt(position?): Vector

Parameters

NameTypeDefault value
positionnumber0

Returns

Vector

Inherited from

_1DShape.tangentAt

Defined in

shapes.ts:577


Shape Export Methods

blobSTEP

blobSTEP(): Blob

Returns

Blob

Inherited from

_1DShape.blobSTEP

Defined in

shapes.ts:485


blobSTL

blobSTL(__namedParameters?): Blob

Parameters

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

Returns

Blob

Inherited from

_1DShape.blobSTL

Defined in

shapes.ts:524


mesh

mesh(__namedParameters?): ShapeMesh

Parameters

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

Returns

ShapeMesh

Inherited from

_1DShape.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

_1DShape.meshEdges

Defined in

shapes.ts:368


Shape Transformations Methods

mirror

mirror(inputPlane, origin): Edge

Parameters

NameType
inputPlanePlane | PlaneName | Point
originPoint

Returns

Edge

Inherited from

_1DShape.mirror

Defined in

shapes.ts:264


rotate

rotate(angle, position?, direction?): Edge

Parameters

NameType
anglenumber
positionPoint
directionPoint

Returns

Edge

Inherited from

_1DShape.rotate

Defined in

shapes.ts:247


scale

scale(scale, center?): Edge

Parameters

NameType
scalenumber
centerPoint

Returns

Edge

Inherited from

_1DShape.scale

Defined in

shapes.ts:278


translate

translate(xDist, yDist, zDist): Edge

Parameters

NameType
xDistnumber
yDistnumber
zDistnumber

Returns

Edge

Inherited from

_1DShape.translate

Defined in

shapes.ts:200

translate(vector): Edge

Parameters

NameType
vectorPoint

Returns

Edge

Inherited from

_1DShape.translate

Defined in

shapes.ts:201


translateX

translateX(distance): Edge

Parameters

NameType
distancenumber

Returns

Edge

Inherited from

_1DShape.translateX

Defined in

shapes.ts:220


translateY

translateY(distance): Edge

Parameters

NameType
distancenumber

Returns

Edge

Inherited from

_1DShape.translateY

Defined in

shapes.ts:229


translateZ

translateZ(distance): Edge

Parameters

NameType
distancenumber

Returns

Edge

Inherited from

_1DShape.translateZ

Defined in

shapes.ts:238