IFClite TypeScript API
Guides
Packages
Preparing search index...
@ifc-lite/drawing-2d
Module @ifc-lite/drawing-2d
Classes
DoorSymbolGenerator
Drawing2DGenerator
DXFExporter
EdgeExtractor
GPUSectionCutter
GraphicOverrideEngine
HatchGenerator
HiddenLineClassifier
LayerMapper
LineStyler
LineWeightAssigner
OpeningFilter
OpeningRelationshipBuilder
PolygonBuilder
SectionCutter
SVGExporter
SymbolRenderer
WindowSymbolGenerator
Interfaces
ArchitecturalDrawing2D
ArchitecturalLine
ArchitecturalSymbol
AxisFlip
Bounds2D
CameraFrame
CameraSectionPlane
ColorRaster
ColorRasterOptions
Cp1252EncodeResult
CustomHatchSettings
CutSegment
DashPattern
DoorSwingParameters
Drawing2D
DrawingContext
DrawingFrame
DrawingLine
DrawingPolygon
DrawingScale
DrawingSheet
DxfDocument
DXFExportOptions
DxfLayerInfo
DxfPlacement
DXFPolylineLayer
DxfUnderlay
DxfUnderlayFill
DxfUnderlayLayer
DXFUnderlayOptions
DxfUnderlayPath
DxfUnderlayText
EdgeData
ElementData
EntityMetadata
FillRelationship
FrameBorderConfig
FrameInnerBounds
FrameMargins
FrameRenderResult
GeneratorOptions
GeneratorProgress
GraphicOverridePreset
GraphicOverrideRule
GraphicStyle
HalfSpaceClipBatchResult
HalfSpaceClipResult
HatchLine
HatchPattern
HatchResult
HiddenLineOptions
LayerDefinition
Line2D
LineMergerOptions
LineStyle
LineWeightConfig
MeshCutResult
MeshOutline2D
NorthArrowConfig
ObjectStyle
ObjectStyleHatch
ObjectStyleLineProps
OpeningInfo
OpeningRelationships
OverrideCriteria
OverrideCriterion
OverrideResult
PaperSize
PaperSizeDefinition
PdfPage
PdfScaleLayout
PdfScaleTransform
Point2D
Polygon2D
Polyline2D
ProfileEntry
ProjectionBandDepths
RasterFit
ResolvedGraphicStyle
RevisionEntry
ScaleBarConfig
ScaleStamp
ScaleStampBar
ScaleStampRect
ScaleStampText
SectionConfig
SectionCutResult
SectionPlaneConfig
SheetCreationOptions
SlidingDoorParameters
StairArrowParameters
StampedSheetLayout
StoreyFloorMesh
StreamingSectionCutterOptions
SVGExportOptions
TitleBlockConfig
TitleBlockExtras
TitleBlockField
TitleBlockLogo
TitleBlockRenderResult
Vec2
Vec3
ViewportBounds
VisibilityResult
VisibilitySegment
VoidRelationship
WindowFrameParameters
WorldBounds3D
WorldLineSeed
WorldSegment
Type Aliases
AIALayerCode
ArchitecturalLineStyle
CriteriaOperator
CriteriaType
DoorOperationType
DxfEntity
EntityKey
FrameStyle
HatchPatternType
LineCategory
LinePatternPreset
LineStylePreset
LineWeight
LineWeightPreset
NorthArrowStyle
ObjectStyleOverride
ObjectStyleOverrides
ObjectStylesConfig
PaperOrientation
PaperSizeCategory
ProjectionBand
SectionAxis
SemanticLineType
SymbolParameters
SymbolType
TitleBlockLayout
TitleBlockPosition
VisibilityState
WindowPartitioningType
Variables
ARCHITECTURAL_PRESET
BUILT_IN_PRESETS
COMMON_SCALES
DASH_PATTERNS
DEFAULT_DXF_PLACEMENT
DEFAULT_LAYERS
DEFAULT_NORTH_ARROW
DEFAULT_OBJECT_STYLES
DEFAULT_SCALE_BAR
DEFAULT_SECTION_CONFIG
DEFAULT_SHADING_DPI
DEFAULT_TITLE_BLOCK_FIELDS
EPSILON
FIRE_SAFETY_PRESET
FRAME_PRESETS
HATCH_PATTERNS
IFC_TYPE_WEIGHTS
LINE_PATTERN_DASH_ARRAYS
LINE_STYLES
LINE_WEIGHT_CONFIG
MAX_SHADING_DIMENSION_PX
MAX_SHADING_PIXELS
MEP_PRESET
MONOCHROME_PRESET
PAPER_SIZE_REGISTRY
PAPER_SIZES
STRUCTURAL_PRESET
TITLE_BLOCK_PRESETS
TYPE_LINE_WEIGHTS
VIEW_3D_PRESET
Functions
aciToCss
addScaleStamp
andCriteria
applyDxfPlacement
bandVisibility
boundsCenter
boundsEmpty
boundsExtendLine
boundsExtendPoint
boundsSize
boundsValid
buildCameraSectionPlane
buildColorRaster
buildOpeningRelationships
calculateDrawingTransform
calculateDrawingTransformForAxis
calculateOptimalDivisions
calculateOptimalScaleBarLength
calculateViewportBounds
classifyDepthRange
classifySegmentBand
clipMeshesToHalfSpace
clipMeshToHalfSpace
computePdfScaleLayout
convertDxfToUnderlay
createFrame
createOverrideEngine
createSectionConfig
createTitleBlock
currentFloorBands
cutMeshesStreaming
deduplicateLines
encodeDxfCp1252
ensureCCW
ensureCW
exportToDXF
exportToSVG
fitRasterPixels
flipBounds2D
formatScaleFactorLabel
formatSheetScaleLabel
generateDoorSymbol
generateFloorPlan
generateSection
generateStairArrow
generateWindowSymbol
getAxisNormal
getBuiltInPreset
getDefaultFrame
getDefaultPaperSize
getDefaultTitleBlock
getFillingElement
getHatchPattern
getHiddenIfcTypes
getLayerForIfcType
getLineStyle
getOpeningsForHost
getPaperSizesByCategory
getPresetsByCategory
getProjectionAxes
getRecommendedScale
getViewDirectionForPlane
ifcTypeCriterion
importDxf
isCounterClockwise
isDoorOrWindow
isFeatureElementType
isGPUComputeAvailable
isIfcTypeVisible
isOpeningElement
lineDirection
lineLength
lineMidpoint
linesCollinear
makeEntityKey
mergeCollinearLines
mergeDrawingLines
orCriteria
outlineToProjectionLines
parseDxf
parseEntityKey
point2D
point2DAdd
point2DCross
point2DDistance
point2DDot
point2DEquals
point2DLength
point2DLerp
point2DNormalize
point2DScale
point2DSub
polygonBounds
polygonSignedArea
projectPointForPlane
projectPointOnLine
projectProfiles
projectTo2D
projectTo2DBasis
projectWorldLineSeeds
propertyCriterion
renderFrame
renderTitleBlock
resolveObjectStyle
reversePolygon
signedAxisDepth
signedDepth
signedDistanceToPlane
simplifyPolygon
splitLineAtParams
storeyFloorsFromMeshes
updateTitleBlockField
vec3
vec3Add
vec3Cross
vec3Distance
vec3Dot
vec3Equals
vec3Length
vec3Lerp
vec3Normalize
vec3Scale
vec3Sub
worldBoundsOfMeshes
worldLengthToPdfMm
worldPointToPdfMm
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Classes
Door
Symbol
Generator
Drawing2
D
Generator
DXF
Exporter
Edge
Extractor
GPU
Section
Cutter
Graphic
Override
Engine
Hatch
Generator
Hidden
Line
Classifier
Layer
Mapper
Line
Styler
Line
Weight
Assigner
Opening
Filter
Opening
Relationship
Builder
Polygon
Builder
Section
Cutter
SVG
Exporter
Symbol
Renderer
Window
Symbol
Generator
Interfaces
Architectural
Drawing2
D
Architectural
Line
Architectural
Symbol
Axis
Flip
Bounds2
D
Camera
Frame
Camera
Section
Plane
Color
Raster
Color
Raster
Options
Cp1252
Encode
Result
Custom
Hatch
Settings
Cut
Segment
Dash
Pattern
Door
Swing
Parameters
Drawing2
D
Drawing
Context
Drawing
Frame
Drawing
Line
Drawing
Polygon
Drawing
Scale
Drawing
Sheet
Dxf
Document
DXF
Export
Options
Dxf
Layer
Info
Dxf
Placement
DXF
Polyline
Layer
Dxf
Underlay
Dxf
Underlay
Fill
Dxf
Underlay
Layer
DXF
Underlay
Options
Dxf
Underlay
Path
Dxf
Underlay
Text
Edge
Data
Element
Data
Entity
Metadata
Fill
Relationship
Frame
Border
Config
Frame
Inner
Bounds
Frame
Margins
Frame
Render
Result
Generator
Options
Generator
Progress
Graphic
Override
Preset
Graphic
Override
Rule
Graphic
Style
Half
Space
Clip
Batch
Result
Half
Space
Clip
Result
Hatch
Line
Hatch
Pattern
Hatch
Result
Hidden
Line
Options
Layer
Definition
Line2
D
Line
Merger
Options
Line
Style
Line
Weight
Config
Mesh
Cut
Result
Mesh
Outline2
D
North
Arrow
Config
Object
Style
Object
Style
Hatch
Object
Style
Line
Props
Opening
Info
Opening
Relationships
Override
Criteria
Override
Criterion
Override
Result
Paper
Size
Paper
Size
Definition
Pdf
Page
Pdf
Scale
Layout
Pdf
Scale
Transform
Point2
D
Polygon2
D
Polyline2
D
Profile
Entry
Projection
Band
Depths
Raster
Fit
Resolved
Graphic
Style
Revision
Entry
Scale
Bar
Config
Scale
Stamp
Scale
Stamp
Bar
Scale
Stamp
Rect
Scale
Stamp
Text
Section
Config
Section
Cut
Result
Section
Plane
Config
Sheet
Creation
Options
Sliding
Door
Parameters
Stair
Arrow
Parameters
Stamped
Sheet
Layout
Storey
Floor
Mesh
Streaming
Section
Cutter
Options
SVG
Export
Options
Title
Block
Config
Title
Block
Extras
Title
Block
Field
Title
Block
Logo
Title
Block
Render
Result
Vec2
Vec3
Viewport
Bounds
Visibility
Result
Visibility
Segment
Void
Relationship
Window
Frame
Parameters
World
Bounds3
D
World
Line
Seed
World
Segment
Type Aliases
AIA
Layer
Code
Architectural
Line
Style
Criteria
Operator
Criteria
Type
Door
Operation
Type
Dxf
Entity
Entity
Key
Frame
Style
Hatch
Pattern
Type
Line
Category
Line
Pattern
Preset
Line
Style
Preset
Line
Weight
Line
Weight
Preset
North
Arrow
Style
Object
Style
Override
Object
Style
Overrides
Object
Styles
Config
Paper
Orientation
Paper
Size
Category
Projection
Band
Section
Axis
Semantic
Line
Type
Symbol
Parameters
Symbol
Type
Title
Block
Layout
Title
Block
Position
Visibility
State
Window
Partitioning
Type
Variables
ARCHITECTURAL_
PRESET
BUILT_
IN_
PRESETS
COMMON_
SCALES
DASH_
PATTERNS
DEFAULT_
DXF_
PLACEMENT
DEFAULT_
LAYERS
DEFAULT_
NORTH_
ARROW
DEFAULT_
OBJECT_
STYLES
DEFAULT_
SCALE_
BAR
DEFAULT_
SECTION_
CONFIG
DEFAULT_
SHADING_
DPI
DEFAULT_
TITLE_
BLOCK_
FIELDS
EPSILON
FIRE_
SAFETY_
PRESET
FRAME_
PRESETS
HATCH_
PATTERNS
IFC_
TYPE_
WEIGHTS
LINE_
PATTERN_
DASH_
ARRAYS
LINE_
STYLES
LINE_
WEIGHT_
CONFIG
MAX_
SHADING_
DIMENSION_
PX
MAX_
SHADING_
PIXELS
MEP_
PRESET
MONOCHROME_
PRESET
PAPER_
SIZE_
REGISTRY
PAPER_
SIZES
STRUCTURAL_
PRESET
TITLE_
BLOCK_
PRESETS
TYPE_
LINE_
WEIGHTS
VIEW_
3
D_
PRESET
Functions
aci
To
Css
add
Scale
Stamp
and
Criteria
apply
Dxf
Placement
band
Visibility
bounds
Center
bounds
Empty
bounds
Extend
Line
bounds
Extend
Point
bounds
Size
bounds
Valid
build
Camera
Section
Plane
build
Color
Raster
build
Opening
Relationships
calculate
Drawing
Transform
calculate
Drawing
Transform
For
Axis
calculate
Optimal
Divisions
calculate
Optimal
Scale
Bar
Length
calculate
Viewport
Bounds
classify
Depth
Range
classify
Segment
Band
clip
Meshes
To
Half
Space
clip
Mesh
To
Half
Space
compute
Pdf
Scale
Layout
convert
Dxf
To
Underlay
create
Frame
create
Override
Engine
create
Section
Config
create
Title
Block
current
Floor
Bands
cut
Meshes
Streaming
deduplicate
Lines
encode
Dxf
Cp1252
ensure
CCW
ensure
CW
export
To
DXF
export
To
SVG
fit
Raster
Pixels
flip
Bounds2
D
format
Scale
Factor
Label
format
Sheet
Scale
Label
generate
Door
Symbol
generate
Floor
Plan
generate
Section
generate
Stair
Arrow
generate
Window
Symbol
get
Axis
Normal
get
Built
In
Preset
get
Default
Frame
get
Default
Paper
Size
get
Default
Title
Block
get
Filling
Element
get
Hatch
Pattern
get
Hidden
Ifc
Types
get
Layer
For
Ifc
Type
get
Line
Style
get
Openings
For
Host
get
Paper
Sizes
By
Category
get
Presets
By
Category
get
Projection
Axes
get
Recommended
Scale
get
View
Direction
For
Plane
ifc
Type
Criterion
import
Dxf
is
Counter
Clockwise
is
Door
Or
Window
is
Feature
Element
Type
is
GPU
Compute
Available
is
Ifc
Type
Visible
is
Opening
Element
line
Direction
line
Length
line
Midpoint
lines
Collinear
make
Entity
Key
merge
Collinear
Lines
merge
Drawing
Lines
or
Criteria
outline
To
Projection
Lines
parse
Dxf
parse
Entity
Key
point2
D
point2
D
Add
point2
D
Cross
point2
D
Distance
point2
D
Dot
point2
D
Equals
point2
D
Length
point2
D
Lerp
point2
D
Normalize
point2
D
Scale
point2
D
Sub
polygon
Bounds
polygon
Signed
Area
project
Point
For
Plane
project
Point
On
Line
project
Profiles
project
To2
D
project
To2
D
Basis
project
World
Line
Seeds
property
Criterion
render
Frame
render
Title
Block
resolve
Object
Style
reverse
Polygon
signed
Axis
Depth
signed
Depth
signed
Distance
To
Plane
simplify
Polygon
split
Line
At
Params
storey
Floors
From
Meshes
update
Title
Block
Field
vec3
vec3
Add
vec3
Cross
vec3
Distance
vec3
Dot
vec3
Equals
vec3
Length
vec3
Lerp
vec3
Normalize
vec3
Scale
vec3
Sub
world
Bounds
Of
Meshes
world
Length
To
Pdf
Mm
world
Point
To
Pdf
Mm
Guides
Packages
IFClite TypeScript API
Loading...